﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PropertyChangedEventArgs
{
    class PropertyChangedEventArgs : System.EventArgs
    {
        private string propertyName = "";
        private object oldValue = new object();
        private object newValue = new object();

        public string PropertyName
        {
            get { return propertyName; }
            set { propertyName = value; }
        }

        public object OldValue
        {
            get { return oldValue; }
            set { oldValue = value; }
        }

        public object NewValue
        {
            get { return newValue; }
            set { newValue = value; }
        }

        public PropertyChangedEventArgs(string propertyName, object oldValue, object newValue)
        {
            this.PropertyName = propertyName;
            this.OldValue = propertyName;
            this.NewValue = newValue;
        }
    }
}
